package com.housekeeping.housekeeping.usermanagement.service.impl;

import com.housekeeping.housekeeping.usermanagement.dao.impl.OperationDaoImpl;
import com.housekeeping.housekeeping.usermanagement.dao.impl.UpDateDao;
import com.housekeeping.housekeeping.usermanagement.entity.InformationUser;
import com.housekeeping.housekeeping.usermanagement.service.UpdService;

import java.sql.SQLException;

public class UpdServiceImpl implements UpdService {
    private OperationDaoImpl upDateDao = new UpDateDao();
    @Override
    public int updOperation(InformationUser information) throws SQLException {
        return upDateDao.upDate(information);
    }
}
